package com.hzit.entity;

import lombok.*;

/**
 * 学生类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
	private Integer sid;
	private String sname;
	private String sex;
	private Integer age;
	private String addr;
	private Integer cid;

	//1. 初始化方法
	public void init(){
		System.out.println("student--->init()");
	}
	//2. 销毁方法
	public void destroy(){
		System.out.println("student--->destroy()");
	}
}
